projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
607232e
)
imx: nitrogen6x/mx6qsabrelite: Fix bug in board_video_skip
author
Robert Winkler
<
[email protected]
>
Thu, 13 Jun 2013 18:32:22 +0000
(11:32 -0700)
committer
Stefano Babic
<
[email protected]
>
Tue, 10 Sep 2013 17:28:18 +0000
(19:28 +0200)
Signed-off-by: Robert Winkler <
[email protected]
>
board/boundary/nitrogen6x/nitrogen6x.c
patch
|
blob
|
history
diff --git
a/board/boundary/nitrogen6x/nitrogen6x.c
b/board/boundary/nitrogen6x/nitrogen6x.c
index f664f6de6b398b03848fffa3344a4c6f6564eed5..2b61e5d2a9bbfe806184ee5080837da42ee52b4d 100644
(file)
--- a/
board/boundary/nitrogen6x/nitrogen6x.c
+++ b/
board/boundary/nitrogen6x/nitrogen6x.c
@@
-593,6
+593,7
@@
int board_video_skip(void)
if (!panel) {
panel = displays[0].mode.name;
printf("No panel detected: default to %s\n", panel);
+ i = 0;
}
} else {
for (i = 0; i < ARRAY_SIZE(displays); i++) {
@@
-609,9
+610,10
@@
int board_video_skip(void)
displays[i].mode.name,
displays[i].mode.xres,
displays[i].mode.yres);
- } else
+ } else
{
printf("LCD %s cannot be configured: %d\n",
displays[i].mode.name, ret);
+ }
} else {
printf("unsupported panel %s\n", panel);
ret = -EINVAL;